<?php

use think\migration\Seeder;

class BasicCompanyData extends Seeder
{
    /**
     * 公司数据，共54个企业
     * 一个公司company有多个排口drain
     * 一个排口drain有多个设施facility
     * 一个设施facility有多个设备device，目前不说设备，只说设施，所以device数据暂时为空
     */
    public function run()
    {

        $table = $this->table('basic_company');

        // +----------------------------------------------------------------------
        // | 第一部分：电力行业，共14个
        // +----------------------------------------------------------------------
        $rowsDianLi01 = [
            //1
            [
                //step1:名称
                'name'                  => '晋能长治热电有限公司', //公司名称
                'short_name'            => '晋能热电',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => '3470', //公司营业执照号码简写
                'realtime_company'      => 1, //是否实时企业，0否1是
                //step2:行业名称
                'industry_id'           => '1', //行业ID
                //step3:所在区域
                'region_id'             => '53',  //企业所属区域ID
                'address'               => '长治市堠北庄镇杨暴村北', //位置
                //step4:经纬度
                'longitude'             => '113.02679',
                'latitude'              => '36.197841',
                //step5:动态时序网格相关
                'nrow'                  => 22,
                'ncol'                  => 34,
                'grid_repeat'           => 0,
                'grid_number'           => '1357',
                'grid_longitude'        => '36.19966835',
                'grid_latitude'         => '113.021775',
                'grid_center_distance'  => '0.00533754934614428',

                //step6:备注
                'memo'                  => '', //备注
                'delete_time'           => 0, //软删除
            ],
            //2
            [
                'name'                  => '屯留县明辰新能有限公司',
                'short_name'            => '明辰新能',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '1',
                'region_id'             => '53',
                'address'               => '长治市漳电路19号',
                'longitude'             => '113.010159',
                'latitude'              => '36.36845',
                //step5:动态时序网格相关
                'nrow'                  => 40,
                'ncol'                  => 33,
                'grid_repeat'           => 0,
                'grid_number'           => '1357',
                'grid_longitude'        => '36.19966835',
                'grid_latitude'         => '113.021775',
                'grid_center_distance'  => '0.00533754934614428',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //3
            [
                'name'                  => '山西沁新能源集团股份有限公司煤矸石发电厂',
                'short_name'            => '沁新矸石',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '1',
                'region_id'             => '53',
                'address'               => '郊区马厂镇漳山路1号',
                'longitude'             => '112.238922',
                'latitude'              => '36.572814',
                //step5:动态时序网格相关
                'nrow'                  => 0,
                'ncol'                  => 0,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => strtotime('2019-06-10 15:36'), //软删除
            ],
            //4
            [
                'name'                  => '山西漳山发电有限责任公司',
                'short_name'            => '漳山发电',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '1',
                'region_id'             => '53',
                'address'               => '郊区西白兔乡霍家沟村',
                'longitude'             => '113.103738',
                'latitude'              => '36.321039',
                //step5:动态时序网格相关
                'nrow'                  => 35,
                'ncol'                  => 41,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //5
            [
                'name'                  => '山西漳泽电力股份有限公司漳泽发电分公司',
                'short_name'            => '漳泽电力',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '1',
                'region_id'             => '53',
                'address'               => '襄垣县王桥镇五阳矿区',
                'longitude'             => '113.116188',
                'latitude'              => '36.33427',
                //step5:动态时序网格相关
                'nrow'                  => 37,
                'ncol'                  => 42,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //6
            [
                'name'                  => '山西潞安余吾热电有限责任公司',
                'short_name'            => '余吾热电',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '1',
                'region_id'             => '53',
                'address'               => '襄垣县夏店镇西北阳村',
                'longitude'             => '112.864829',
                'latitude'              => '36.368275',
                //step5:动态时序网格相关
                'nrow'                  => 40,
                'ncol'                  => 20,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //7
            [
                'name'                  => '山西潞安容海发电有限责任公司',
                'short_name'            => '潞安容海',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '1',
                'region_id'             => '53',
                'address'               => '襄垣县夏店镇付村',
                'longitude'             => '112.991641',
                'latitude'              => '36.503543',
                //step5:动态时序网格相关
                'nrow'                  => 55,
                'ncol'                  => 31,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //8
            [
                'name'                  => '山西潞安矿业集团有限责任公司五阳热电厂',
                'short_name'            => '五阳热电',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '1',
                'region_id'             => '53',
                'address'               => '屯留县余吾镇前庄村',
                'longitude'             => '112.995392',
                'latitude'              => '36.443089',
                //step5:动态时序网格相关
                'nrow'                  => 49,
                'ncol'                  => 32,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //9
            [
                'name'                  => '山西潞安祥瑞焦化有限公司屯留发电厂',
                'short_name'            => '祥瑞焦化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => 1,
                'region_id'             => 53,
                'address'               => '武乡县丰州镇下城村',
                'longitude'             => '112.939415',
                'latitude'              => '36.366342',
                //step5:动态时序网格相关
                'nrow'                  => 40,
                'ncol'                  => 27,
                'grid_repeat'           => 1,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //10
            [
                'name'                  => '山西禾能发电有限公司',
                'short_name'            => '禾能发电',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => 1,
                'region_id'             => 53,
                'address'               => '潞城市电厂路6号',
                'longitude'             => '112.849893',
                'latitude'              => '36.211116',
                //step5:动态时序网格相关
                'nrow'                  => 23,
                'ncol'                  => 19,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //11
            [
                'name'                  => '山西鲁晋王曲发电有限责任公司',
                'short_name'            => '王曲发电',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => 1,
                'region_id'             => 53,
                'address'               => '潞城市中华东大街',
                'longitude'             => '113.210637',
                'latitude'              => '36.352931',
                //step5:动态时序网格相关
                'nrow'                  => 39,
                'ncol'                  => 51,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //12
            [
                'name'                  => '武乡西山发电有限责任公司',
                'short_name'            => '西山发电',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '1',
                'region_id'             => '53',
                'address'               => '沁源县李元镇贤友村',
                'longitude'             => '112.852617',
                'latitude'              => '36.831557',
                //step5:动态时序网格相关
                'nrow'                  => 0,
                'ncol'                  => 0,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => strtotime('2019-06-10 15:36'), //软删除
            ],
            //13
            [
                'name'                  => '襄垣县诚丰电力有限公司',
                'short_name'            => '诚丰电力',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '1',
                'region_id'             => '53',
                'address'               => '沁源县李元镇贤友村',
                'longitude'             => '112.97972',
                'latitude'              => '36.507109',
                //step5:动态时序网格相关
                'nrow'                  => 56,
                'ncol'                  => 30,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //14
            [
                'name'                  => '长治市霍氏自备电力有限公司',
                'short_name'            => '霍氏电力',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '1',
                'region_id'             => '53',
                'address'               => '沁源县李元镇贤友村',
                'longitude'             => '113.065675',
                'latitude'              => '36.411416',
                //step5:动态时序网格相关
                'nrow'                  => 45,
                'ncol'                  => 38,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
        ];

        // +----------------------------------------------------------------------
        // | 第二部分：焦化行业，共21个
        // +----------------------------------------------------------------------
        $rowsJiaoHua01 = [
            //15
            [
                'name'                  => '山西兴旺煤化集团有限公司',
                'short_name'            => '兴旺煤化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '郊区西白兔乡南村',
                'longitude'             => '113.027361',
                'latitude'              => '36.376216',
                //step5:动态时序网格相关
                'nrow'                  => 41,
                'ncol'                  => 34,
                'grid_repeat'           => 1,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '郊区，生产规模60万t/a',
                'delete_time' => 0, //软删除
            ],
            //16
            [
                'name'                  => '山西南耀集团昌晋苑焦化有限公司',
                'short_name'            => '晋苑焦化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '郊区西白兔乡南村',
                'longitude'             => '113.033473',
                'latitude'              => '36.408769',
                //step5:动态时序网格相关
                'nrow'                  => 45,
                'ncol'                  => 35,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '郊区，生产规模130万t/a',
                'delete_time' => 0, //软删除
            ],
            //17
            [
                'name'                  => '山西明源能源集团有限公司',
                'short_name'            => '明源能源',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '郊区西白兔乡西白兔村',
                'longitude'             => '112.323765',
                'latitude'              => '36.677905',
                //step5:动态时序网格相关
                'nrow'                  => 0,
                'ncol'                  => 0,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '郊区，生产规模60万t/a',
                'delete_time' => strtotime('2019-06-10 15:36'), //软删除
            ],
            //18
            [
                'name'                  => '山西沁新能源集团股份有限公司焦化厂',
                'short_name'            => '沁新能源',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '长治市故县东大街9号',
                'longitude'             => '112.269208',
                'latitude'              => '36.560323',
                //step5:动态时序网格相关
                'nrow'                  => 0,
                'ncol'                  => 0,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '郊区，生产规模135万t/a',
                'delete_time' => strtotime('2019-06-10 15:36'), //软删除
            ],
            //19
            [
                'name'                  => '山西限责任公司一分厂',
                'short_name'            => '潞安焦化1',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '长治市故县东大街9号',
                'longitude'             => '113.042046',
                'latitude'              => '36.456529',
                //step5:动态时序网格相关
                'nrow'                  => 50,
                'ncol'                  => 36,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '襄垣县，生产规模94万t/a',
                'delete_time' => 0, //软删除
            ],
            //20
            [
                'name'                  => '山西潞安焦化有限责任公司二分厂',
                'short_name'            => '潞安焦化2',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '长治市故县东大街9号',
                'longitude'             => '113.065204',
                'latitude'              => '36.455097',
                //step5:动态时序网格相关
                'nrow'                  => 50,
                'ncol'                  => 38,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '襄垣县，生产规模94万t/a',
                'delete_time' => 0, //软删除
            ],
            //21
            [
                'name'                  => '山西潞安环能煤焦化有限责任公司',
                'short_name'            => '环能焦化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '襄垣县王桥镇东山底村',
                'longitude'             => '113.121560',
                'latitude'              => '36.454695',
                //step5:动态时序网格相关
                'nrow'                  => 50,
                'ncol'                  => 43,
                'grid_repeat'           => 1,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '襄垣县，生产规模60万t/a',
                'delete_time' => 0, //软删除
            ],
            //22
            [
                'name'                  => '山西潞安祥瑞焦化有限公司',
                'short_name'            => '祥瑞焦化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '屯留县路村乡东洼村',
                'longitude'             => '112.939415',
                'latitude'              => '36.366342',
                //step5:动态时序网格相关
                'nrow'                  => 40,
                'ncol'                  => 27,
                'grid_repeat'           => 1,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '屯留县，生产规模70万t/a',
                'delete_time' => 0, //软删除
            ],
            //23
            [
                'name'                  => '山西潞宝集团晋钢兆丰煤化工有限责任公司',
                'short_name'            => '晋钢兆丰',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '屯留县路村乡王村',
                'longitude'             => '113.121538',
                'latitude'              => '36.454772',
                //step5:动态时序网格相关
                'nrow'                  => 50,
                'ncol'                  => 43,
                'grid_repeat'           => 1,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '屯留县，生产规150万t/a',
                'delete_time' => 0, //软删除
            ],
            //24
            [
                'name'                  => '山西潞宝集团焦化有限公司',
                'short_name'            => '潞宝焦化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '屯留县渔泽镇东古村',
                'longitude'             => '113.116941',
                'latitude'              => '36.451293',
                //step5:动态时序网格相关
                'nrow'                  => 50,
                'ncol'                  => 42,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '屯留县，生产规60万t/a',
                'delete_time' => 0, //软删除
            ],
            //25
            [
                'name'                  => '山西襄矿集团沁县华安焦化有限公司',
                'short_name'            => '华安焦化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '屯留县路村乡王村',
                'longitude'             => '112.594017',
                'latitude'              => '36.717219',
                //step5:动态时序网格相关
                'nrow'                  => 72,
                'ncol'                  => 1,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '屯留县，生产规60万t/a',
                'delete_time' => 0, //软删除
            ],
            //26
            [
                'name'                  => '沁源县兴茂煤化有限公司',
                'short_name'            => '兴茂煤化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '屯留县渔泽镇东古村',
                'longitude'             => '112.26281',
                'latitude'              => '36.756914',
                //step5:动态时序网格相关
                'nrow'                  => 0,
                'ncol'                  => 0,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '屯留县，生产规60万t/a',
                'delete_time' => strtotime('2019-06-10 15:36'), //软删除
            ],
            //27
            [
                'name'                  => '沁源县常源焦化有限公司',
                'short_name'            => '常源焦化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '屯留县渔泽镇东古村',
                'longitude'             => '112.355614',
                'latitude'              => '36.432347',
                //step5:动态时序网格相关
                'nrow'                  => 0,
                'ncol'                  => 0,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '屯留县，生产规148万t/a',
                'delete_time' => strtotime('2019-06-10 15:36'), //软删除
            ],
            //28
            [
                'name'                  => '襄垣县恒祥焦化有限公司',
                'short_name'            => '恒祥焦化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '黎城县西仵工业园区',
                'longitude'             => '112.964477',
                'latitude'              => '36.488525',
                //step5:动态时序网格相关
                'nrow'                  => 54,
                'ncol'                  => 29,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '黎城县，生产规60万t/a',
                'delete_time' => 0, //软删除
            ],
            //29
            [
                'name'                  => '襄垣潞安环能五阳弘峰焦化有限公司',
                'short_name'            => '弘峰焦化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '黎城县西仵工业园区',
                'longitude'             => '113.059886',
                'latitude'              => '36.464321',
                //step5:动态时序网格相关
                'nrow'                  => 51,
                'ncol'                  => 37,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '黎城县，生产规60万t/a',
                'delete_time' => 0, //软删除
            ],
            //30
            [
                'name'                  => '襄垣县鸿达煤化有限公司',
                'short_name'            => '鸿达煤化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '常平经济开发区',
                'longitude'             => '112.976803',
                'latitude'              => '36.505261',
                //step5:动态时序网格相关
                'nrow'                  => 55,
                'ncol'                  => 30,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '壶关县，生产规60万t/a',
                'delete_time' => 0, //软删除
            ],
            //31
            [
                'name'                  => '长治市晋鑫煤焦有限责任公司',
                'short_name'            => '晋鑫煤焦',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '沁县册村镇尧山村',
                'longitude'             => '113.089620',
                'latitude'              => '36.412344',
                //step5:动态时序网格相关
                'nrow'                  => 45,
                'ncol'                  => 40,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '沁县，生产规130万t/a',
                'delete_time' => 0, //软删除
            ],
            //32
            [
                'name'                  => '长治市郊区南村煤化有限公司',
                'short_name'            => '南村煤化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '沁源县聪子峪乡新店上村',
                'longitude'             => '113.027666',
                'latitude'              => '36.406704',
                //step5:动态时序网格相关
                'nrow'                  => 45,
                'ncol'                  => 35,
                'grid_repeat'           => 1,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '沁源县，生产规71万t/a',
                'delete_time' => 0, //软删除
            ],
            //33
            [
                'name'                  => '长治市麟源煤业有限责任公司',
                'short_name'            => '麟源煤业',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '沁源县李元镇贤友村',
                'longitude'             => '112.937434',
                'latitude'              => '36.362756',
                //step5:动态时序网格相关
                'nrow'                  => 40,
                'ncol'                  => 27,
                'grid_repeat'           => 1,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '沁源县，生产规60万t/a',
                'delete_time' => 0, //软删除
            ],
            //34
            [
                'name'                  => '黎城县华太煤气化有限公司',
                'short_name'            => '华太煤气',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '沁源县沁河镇闫寨村',
                'longitude'             => '113.359544',
                'latitude'              => '36.489026',
                //step5:动态时序网格相关
                'nrow'                  => 54,
                'ncol'                  => 63,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '沁源县，生产规60万t/a',
                'delete_time' => 0, //软删除
            ],
            //35
            [
                'name'                  => '黎城县长福煤气焦化公司',
                'short_name'            => '长福煤气',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '沁源县郭道镇郭道村',
                'longitude'             => '113.358829',
                'latitude'              => '36.482024',
                //step5:动态时序网格相关
                'nrow'                  => 53,
                'ncol'                  => 63,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '沁源县，生产规60万t/a',
                'delete_time' => 0, //软删除
            ],
        ];

        // +----------------------------------------------------------------------
        // | 第三部分：水泥玻璃行业，共5个
        // +----------------------------------------------------------------------
        $rowsShuiNiBoLi01 = [
            //36
            [
                'name'                  => '华润水泥（长治）有限公司',
                'short_name'            => '华润水泥',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '4',
                'region_id'             => '53',
                'address'               => '潞城市店上镇北村',
                'longitude'             => '113.154192',
                'latitude'              => '36.303096',
                //step5:动态时序网格相关
                'nrow'                  => 33,
                'ncol'                  => 46,
                'grid_repeat'           => 1,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '沁源县，生产规60万t/a',
                'delete_time' => 0, //软删除
            ],
            //37
            [
                'name'                  => '山西南耀集团科保水泥有限公司',
                'short_name'            => '科保水泥',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '4',
                'region_id'             => '53',
                'address'               => '潞城市店上镇曹家沟村',
                'longitude'             => '113.111313',
                'latitude'              => '36.282953',
                //step5:动态时序网格相关
                'nrow'                  => 31,
                'ncol'                  => 42,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '沁源县，生产规96万t/a',
                'delete_time' => 0, //软删除
            ],
            //38
            [
                'name'                  => '武乡山水水泥有限公司',
                'short_name'            => '山水水泥',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '4',
                'region_id'             => '53',
                'address'               => '潞宝生态工业园区',
                'longitude'             => '113.156377',
                'latitude'              => '36.80201',
                //step5:动态时序网格相关
                'nrow'                  => 0,
                'ncol'                  => 0,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '沁源县，生产规70万t/a',
                'delete_time' => strtotime('2019-06-10 15:36'), //软删除
            ],
            //39
            [
                'name'                  => '潞城市卓越水泥有限公司',
                'short_name'            => '卓越水泥',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '4',
                'region_id'             => '53',
                'address'               => '潞宝生态工业园区',
                'longitude'             => '113.165862',
                'latitude'              => '36.385143',
                //step5:动态时序网格相关
                'nrow'                  => 42,
                'ncol'                  => 47,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '沁源县，生产规270万t/a',
                'delete_time' => 0, //软删除
            ],
            //40
            [
                'name'                  => '长治县三元王庄华泰水泥有限公司',
                'short_name'            => '华泰水泥',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '4',
                'region_id'             => '53',
                'address'               => '潞宝生态工业园区',
                'longitude'             => '113.102902',
                'latitude'              => '36.054051',
                //step5:动态时序网格相关
                'nrow'                  => 6,
                'ncol'                  => 41,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '沁源县，生产规140万t/a',
                'delete_time' => 0, //软删除
            ],

        ];

        // +----------------------------------------------------------------------
        // | 第四部分：钢铁行业（7个），共6个钢铁，1个焦化(44是焦化)
        // +----------------------------------------------------------------------
        $rowsGangTie01 = [
            //41
            [
                'name'                  => '壶关县常浩炼铁有限公司',
                'short_name'            => '常浩炼铁',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '3',
                'region_id'             => '53',
                'address'               => '潞城市翟店镇崇道村',
                'longitude'             => '113.228925',
                'latitude'              => '36.148658',
                //step5:动态时序网格相关
                'nrow'                  => 16,
                'ncol'                  => 52,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '沁源县，生产规64万t/a',
                'delete_time' => 0, //软删除
            ],
            //42
            [
                'name'                  => '山西常平炼钢有限公司',
                'short_name'            => '常平炼钢',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '3',
                'region_id'             => '53',
                'address'               => '长治市故县东大街9号',
                'longitude'             => '113.233529',
                'latitude'              => '36.146737',
                //step5:动态时序网格相关
                'nrow'                  => 16,
                'ncol'                  => 53,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //43
            [
                'name'                  => '山西长信工业有限公司',
                'short_name'            => '长信工业',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '3',
                'region_id'             => '53',
                'address'               => '郊区合成北路3号',
                'longitude'             => '113.131022',
                'latitude'              => '36.334907',
                //step5:动态时序网格相关
                'nrow'                  => 37,
                'ncol'                  => 44,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
        ];

        // +----------------------------------------------------------------------
        // | 焦化行业01（1个）
        // +----------------------------------------------------------------------
        $rowsJiaoHua02 = [
            //44
            [
                'name'                  => '屯留尔安焦化有限公司',
                'short_name'            => '尔安焦化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '112.914848',
                'latitude'              => '36.365448',
                //step5:动态时序网格相关
                'nrow'                  => 40,
                'ncol'                  => 25,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
        ];

        // +----------------------------------------------------------------------
        // | 钢铁行业02（3个）
        // +----------------------------------------------------------------------
        $rowsGangTie02 = [
            //45
            [
                'name'                  => '黎城太行钢铁有限责任公司',
                'short_name'            => '太行钢铁',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '3',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '113.384366',
                'latitude'              => '36.53506',
                //step5:动态时序网格相关
                'nrow'                  => 59,
                'ncol'                  => 63,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //46
            [
                'name'                  => '潞城市兴宝钢铁有限责任公司',
                'short_name'            => '兴宝钢铁',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '3',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '113.169003',
                'latitude'              => '36.34059',
                //step5:动态时序网格相关
                'nrow'                  => 37,
                'ncol'                  => 47,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //47
            [
                'name'                  => '首钢长治钢铁有限公司',
                'short_name'            => '长治钢铁',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '3',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '113.059758',
                'latitude'              => '36.36742',
                //step5:动态时序网格相关
                'nrow'                  => 40,
                'ncol'                  => 37,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
        ];

        // +----------------------------------------------------------------------
        // | 电力行业02（1个）
        // | 时间：2019-06-10 15:46
        // +----------------------------------------------------------------------
        $rowsDianLi02 = [
            //48
            [
                'name'                  => '天脊煤化工集团有限公司热动厂',
                'short_name'            => '天脊化工',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '1',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '113.2680650361',
                'latitude'              => '36.3332147945',
                //step5:动态时序网格相关
                'nrow'                  => 37,
                'ncol'                  => 56,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ]
        ];

        // +----------------------------------------------------------------------
        // | 焦化行业03（7个）
        // +----------------------------------------------------------------------
        $rowsJiaoHua03 = [
            //49
            [
                'name'                  => '首钢长治钢铁有限公司焦化厂',
                'short_name'            => '首钢焦化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '113.1184390000',
                'latitude'              => '36.1802790000',
                //step5:动态时序网格相关
                'nrow'                  => 20,
                'ncol'                  => 43,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //50
            [
                'name'                  => '屯留县华诚焦化有限责任公司',
                'short_name'            => '华诚焦化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '113.029611178',
                'latitude'              => '36.37605650828',
                //step5:动态时序网格相关
                'nrow'                  => 41,
                'ncol'                  => 35,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //51
            [
                'name'                  => '山西潞安祥瑞焦化有限责任公司',
                'short_name'            => '祥瑞焦化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '112.9291760000',
                'latitude'              => '36.3633120000',
                //step5:动态时序网格相关
                'nrow'                  => 40,
                'ncol'                  => 26,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //52
            [
                'name'                  => '山西兴旺煤化集团有限责任公司（一期）',
                'short_name'            => '兴旺煤化1',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '113.0223100000',
                'latitude'              => '36.3798000000',
                //step5:动态时序网格相关
                'nrow'                  => 42,
                'ncol'                  => 34,
                'grid_repeat'           => 1,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //53
            [
                'name'                  => '山西兴旺煤化集团有限责任公司（二期）',
                'short_name'            => '兴旺煤化2',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '113.0223100000',
                'latitude'              => '36.3798000000',
                //step5:动态时序网格相关
                'nrow'                  => 42,
                'ncol'                  => 34,
                'grid_repeat'           => 1,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //54
            [
                'name'                  => '山西金通焦化集团有限公司',
                'short_name'            => '金通焦化',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '113.1613800000',
                'latitude'              => '36.2996700000',
                //step5:动态时序网格相关
                'nrow'                  => 33,
                'ncol'                  => 46,
                'grid_repeat'           => 1,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //55
            [
                'name'                  => '壶关县常平实业有限公司',
                'short_name'            => '常平实业',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '2',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '113.2493076599',
                'latitude'              => '36.1412559385',
                //step5:动态时序网格相关
                'nrow'                  => 16,
                'ncol'                  => 54,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
        ];


        // +----------------------------------------------------------------------
        // | 钢铁行业03（1个）
        // +----------------------------------------------------------------------
        $rowsGangTie03 = [
            //56
            [
                'name'                  => '黎城县金元钢铁有限公司',
                'short_name'            => '金元钢铁',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '3',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '113.3621800000',
                'latitude'              => '36.4701300000',
                //step5:动态时序网格相关
                'nrow'                  => 52,
                'ncol'                  => 63,
                'grid_repeat'           => 1,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
        ];

        // +----------------------------------------------------------------------
        // | 水泥玻璃02（4个），前2个玻璃，后两个水泥
        // +----------------------------------------------------------------------
        $rowsShuiNiBoLi02 = [
            //玻璃
            //57
            [
                'name'                  => '山西青春玻璃有限公司',
                'short_name'            => '青春玻璃',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '4',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '113.3685700056',
                'latitude'              => '36.4759176842',
                //step5:动态时序网格相关
                'nrow'                  => 52,
                'ncol'                  => 63,
                'grid_repeat'           => 1,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //58
            [
                'name'                  => '山西日盛达太阳能科技有限公司',
                'short_name'            => '日盛达',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '4',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '113.1035948216',
                'latitude'              => '36.1449983359',
                //step5:动态时序网格相关
                'nrow'                  => 16,
                'ncol'                  => 41,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //水泥
            //59
            [
                'name'                  => '山西中宝建材有限公司',
                'short_name'            => '中宝建材',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '4',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '113.3261900000',
                'latitude'              => '36.3812200000',
                //step5:动态时序网格相关
                'nrow'                  => 42,
                'ncol'                  => 61,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
            //60
            [
                'name'                  => '山西晋牌水泥集团建材有限公司',
                'short_name'            => '晋牌水泥',
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '4',
                'region_id'             => '53',
                'address'               => '',
                'longitude'             => '113.1780359246',
                'latitude'              => '36.3118369834',
                //step5:动态时序网格相关
                'nrow'                  => 34,
                'ncol'                  => 48,
                'grid_repeat'           => 0,
                'grid_number'           => 0,
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',

                'memo'        => '',
                'delete_time' => 0, //软删除
            ],
        ];


        //新增
        $num        = 69;
        $i          = 0;
        $start      = 44; //开始计数的企业
        $rowsOthers = [];
        while ($num > 0) {
            $rowsOthers[] = [
                'name'                  => '测试公司' . ($start + $i),
                'license_number'        => mt_rand(10000000, 99999999), //公司营业执照号码
                'license_number_simple' => mt_rand(1000, 3469), //公司营业执照号码简写
                'realtime_company'      => 0,
                'industry_id'           => '0',
                'region_id'             => '53',
                'longitude'             => '',
                'latitude'              => '',
                //step5:动态时序网格相关
                'nrow'                  => 0,
                'ncol'                  => 0,
                'grid_repeat'           => 0,
                'grid_number'           => '0',
                'grid_longitude'        => '',
                'grid_latitude'         => '',
                'grid_center_distance'  => '',
                'address'               => '',
                'memo'                  => '',
            ];
            $num--;
            $i++;
        }


        $rows = array_merge($rowsDianLi01, $rowsJiaoHua01, $rowsShuiNiBoLi01, $rowsGangTie01, $rowsJiaoHua02, $rowsGangTie02, $rowsDianLi02, $rowsJiaoHua03, $rowsGangTie03, $rowsShuiNiBoLi02, $rowsOthers);
        $table->insert($rows)->save();
    }
}